{"items":{"ext.gadget.BugStatusUpdate@1380452566":"mw.loader.implement(\"ext.gadget.BugStatusUpdate\",function(){(function($){var ids=[],target='https://bugzilla.wikimedia.org/jsonrpc.cgi';var getParams=function(ids){return'method=Bug.get&id=158¶ms=[{ \"ids\": ['+ids.join(',')+'], \"include_fields\": [\"last_change_time\", \"status\", \"id\", \"summary\"] }]';};$('.mw-trackedTemplate').each(function(){var title=$(this).find('a[title^=\"bugzilla:\"]').attr('title');ids.push(title.split(':')[1]);});if(!ids.length){return;}$.ajax({url:target,dataType:'jsonp',data:getParams(ids),success:function(data){var color={\"RESOLVED\":\n\"green\",\"CRITICAL\":\"red\"},statusProps={'font-weight':'bold','font-size':'1.5em','text-transform':'uppercase'};if(data.result&&data.result.bugs){for(var b in data.result.bugs){$item=$('.mw-trackedTemplate').find('a[title^=\"bugzilla:'+data.result.bugs[b].id+'\"]');title=$('.trakbug-'+data.result.bugs[b].id)\nif(title){title.text(data.result.bugs[b].summary);}if($item){$status=$item.parent().next('p').children('span');if($status.length===0){$item.parent().parent().append($('

').append($('').css().text('Status')));}$item.parent().nextp').children('span').css('color',color[data.result.[b].status]||'#333333').text(data.result.bugs[b].status);$status=nulljQuery);;},{},{});","ext.gadget.DRN-wizard@1347062400":"mw.loader.implement(\"ext.gadget.DRN-wizard\",function(){if(mw.config.get('wgPageName')==='Wikipedia:Dispute_resolution_noticeboard/request'){importScript('MediaWiki:Gadget-DRN-wizard.js');};},{},{});","ext.gadget.mySandbox@1353351560":"mw.loader.implement(\"ext.gadget.mySandbox\",function(){(function(mw,$){$(document).ready(function(){var conf,title,url;conf={subpageName:'sandbox',portletLabel:'Sandbox',portletTooltip:'Go to your sandbox',editintroPagename:'Template:User_sandbox',preloadPagename:'Template:User_sandbox/preload'};title=new mw.Title('Special:MyPage/'+conf.subpageName);url=new mw.Uri(title.getUrl());url.extend({action:'edit',redlink:1,editintro:new mw.Title(conf.editintroPagename),preload:new mw.Title(conf.\npreloadPagename)});mw.util.addPortletLink('p-personal',url,conf.portletLabel,'pt-mysandbox',conf.portletTooltip,null,'#pt-preferences');});}(mediaWiki,jQuery));;},{},{});","ext.gadget.search-new-tab@1359348248":"mw.loader.implement(\"ext.gadget.search-new-tab\",function(){$('#searchform, #searchbox, #search, .search-types, #search-types, #powersearch').bind('keyup keydown mousedown',function(e){$(this).attr('target',e.ctrlKey||e.metaKey?'_blank':'');});;},{},{});","mediawiki.language.data@1386119316":"mw.loader.implement(\"mediawiki.language.data\",function(){mw.language.setData(\"en\",{\"digitTransformTable\":null,\"separatorTransformTable\":null,\"grammarForms\":[],\"pluralRules\":[\"n is 1\"],\"digitGroupingPattern\":null});},{},{});","schema.Echo@1347062400":"mw.loader.implement(\"schema.Echo\",function(){mediaWiki.eventLog.declareSchema(\"Echo\",{\"schema\":{\"title\":\"Echo\",\"description\":\"Logs events related to the generation of notifications via the Echo extension\",\"properties\":{\"version\":{\"type\":\"string\",\"required\":true,\"description\":\"References the full specifications of the current version of Echo (adding new notification types or changing the schema requires a version change), example: 1.1\"},\"eventId\":{\"type\":\"integer\",\"required\":true,\"description\":\"Unique identifier of the event triggering the current notification\"},\"notificationType\":{\"type\":\"string\",\"required\":true,\"enum\":[\"reverted\",\"edit-thank\",\"pagetriage-add-deletion-tag\",\"page-featured\",\"page-linked\",\"page-rated\",\"pagetriage-mark-as-reviewed\",\"pagetriage-add-maintenance-tag\",\"edit-user-talk\",\"talk-reply\",\"mention\",\"user-rights\",\"watchlist-how-to\",\"welcome\",\"wikilove\",\"gettingstarted-start-editing\",\"gettingstarted-continue-editing\"],\"description\":\n\"Type of notification, the actual content of each message is documented in the page referenced in the iteration field\"},\"notificationGroup\":{\"type\":\"string\",\"required\":true,\"enum\":[\"positive\",\"interactive\",\"neutral\",\"negative\",\"system\"],\"description\":\"Notification group.\"},\"sender\":{\"type\":\"string\",\"required\":true,\"description\":\"Identifies the agent performing the action that triggers the notification, it can be any of the following: (1) an anonymous user (IP address), (2) a registered user (user ID), (3) MediaWiki (-1)\"},\"recipientUserId\":{\"type\":\"integer\",\"required\":true,\"description\":\"Recipient user ID\"},\"recipientEditCount\":{\"type\":\"integer\",\"description\":\"Recipient lifetime edit count\"},\"eventSource\":{\"type\":\"string\",\"description\":\"Identifies the context in which the notification was triggered. This is mostly useful for notifications that can be generated from different UI elements or via API requests.\"},\"deliveryMethod\":{\"type\":\"string\",\"required\":true,\"enum\":[\"web\",\"email\"],\n\"description\":\"Describes the method used for delivering the notification to the recipient. 'web' is for on-site delivery, the notification is logged regardless of whether the user has disabled web notifications/badges. 'email' only logs email notifications for users with authenticated email addresses and no preference set explicitly disabling email.\"},\"revisionId\":{\"type\":\"integer\",\"description\":\"Revision ID of the edit that the event is for\"}}},\"revision\":6081131});},{},{});","schema.EchoInteraction@1347062400":"mw.loader.implement(\"schema.EchoInteraction\",function(){mediaWiki.eventLog.declareSchema(\"EchoInteraction\",{\"schema\":{\"description\":\"Logs activity related to how users interact with notifications produced via the Echo extension\",\"properties\":{\"version\":{\"type\":\"string\",\"required\":true,\"description\":\"References the full specifications of the current version of Echo (adding new notification types or changing the schema requires a version change), example: 1.1\"},\"context\":{\"type\":\"string\",\"enum\":[\"flyout\",\"archive\"],\n\"description\":\"Context in which the action occurred, applies to all actions except for badge-link-click\"},\"action\":{\"type\":\"string\",\"required\":true,\"enum\":[\"notification-impression\",\"notification-link-click\",\"ui-archive-link-click\",\"ui-badge-link-click\",\"ui-help-click\",\"ui-prefs-click\"],\"description\":\"List of possible client-side actions. ui-* actions refer to UI elements, notification-* actions refer to individual notifications.\\n ui-badge-link-click is fired when the user clicks on the badge and has no context; ui-archive-link-click can only have flyout as a context; ui-help-click and ui-prefs-click actions can occur in the flyout and archive context.\"},\"eventId\":{\"type\":\"integer\",\"description\":\"Unique identifier of the event triggering the current notification (matching the same field in Schema:Echo), only available for notification-* actions.\"},\"notificationType\":{\"type\":\"string\",\"description\":\n\"Type of notification, matching definitions from Schema:Echo. This is only available for notification-* actions.\"},\"userId\":{\"type\":\"integer\",\"description\":\"User ID, change to required if the feature is being tested on registered only\",\"required\":true},\"editCount\":{\"type\":\"integer\",\"description\":\"Lifetime edit count, for registered users only\"}}},\"revision\":5539940});},{},{});","schema.EchoMail@1347062400":"mw.loader.implement(\"schema.EchoMail\",function(){mediaWiki.eventLog.declareSchema(\"EchoMail\",{\"schema\":{\"title\":\"EchoMail\",\"description\":\"Logs notifications mailed to registered users with valid email addresses. Schema:Echo logs notifications staged for email delivery, while this schema logs messages actually delivered.\",\"properties\":{\"version\":{\"type\":\"string\",\"required\":true,\"description\":\"References the full specifications of the current version of Echo (adding new notification types or changing the schema requires a version change), example: 1.1\"},\"recipientUserId\":{\"type\":\"integer\",\"required\":true,\n\"description\":\"Recipient user ID\"},\"emailDeliveryMode\":{\"type\":\"string\",\"required\":true,\"enum\":[\"single\",\"bundle\",\"daily_digest\",\"weekly_digest\"],\"description\":\"Email delivery mode, determined by the notification settings and by user preferences\"}}},\"revision\":5467650});},{},{});","schema.GettingStartedOnRedirect@1347062400":"mw.loader.implement(\"schema.GettingStartedOnRedirect\",function(){mediaWiki.eventLog.declareSchema(\"GettingStartedOnRedirect\",{\"schema\":{\"title\":\"GettingStartedOnRedirect\",\"description\":\"Logs events related to tasks assigned to new users via the GettingStarted extension.\",\"properties\":{\"version\":{\"type\":\"integer\",\"required\":true,\"description\":\"Version number\"},\"action\":{\"type\":\"string\",\"required\":true,\"enum\":[\"gettingstarted-specialpage-impression\",\"gettingstarted-specialpage-click\",\"redirect-page-impression\",\"redirect-invite-impression\",\"redirect-invite-click\",\"page-impression\"],\"description\":\n\"The actions involved in accepting a task via either the Special:GettingStarted page or a series of modal overlays presented on a user's returnto destination after signup.\\n\\ngettingstarted-specialpage-impression occurs if they visit the Special:GettingStarted page, either manually or by being sent there post-signup in the control group\\n\\ngettingstarted-specialpage-click means a click on an article task (gettingstarted-* task) while on the special page. It can occur on the post-signup welcome page (control) or on a manual visit to the Special:GettingStarted page.\\n\\nredirect-page-impression - Logged on ready by the returnTo module, regardless of whether a CTA will be shown.\\n\\nredirect-invite-impression - Logged immediately after a CTA is shown.\\n\\nredirect-invite-click - Logged when the user clicks on 'Edit this page', 'Find pages that need easy fixes', or either of the dismiss links (× and 'No thanks'). The dismiss link logging has no funnel.\\n\\npage-impression - Logged on a view (wgAction 'view') of a page that is currently considered a GettingStarted task (not including a returnto task), including the first view of the toolbar and subsequent views.\"\n},\"source\":{\"type\":\"string\",\"enum\":[\"gettingstarted-specialpage-click\",\"redirect-invite-click\"],\"description\":\"Logs the source of a page-impression event, based on the query string.\\n\\nThis can be omitted entirely; however if it is set, it must be one of the above; other values will not be included in the database.\"},\"funnel\":{\"type\":\"string\",\"enum\":[\"gettingstarted-copyedit\",\"gettingstarted-clarify\",\"gettingstarted-addlinks\",\"redirect\"],\"description\":\n\"The possible tasks are explained below. Also note that if a funnel is set on a 'redirect-invite-click', that indicates the user clicked on something *other* than a dismiss link.\\n\\ngettingstarted-copyedit - Shared between test bucket ([Find pages that need easy fixes] CTA) and control bucket (one of three funnels on Special:GettingStarted)\\n\\ngettingstarted-clarify - only used for control\\n\\ngettingstarted-addlinks - only used for control\\n\\nredirect - Used for when the user edits the current page ([Edit this page] from CTA); only test bucket\"},\"bucket\":{\"type\":\"string\",\"required\":true,\"enum\":[\"test\",\"control\"],\"description\":\"Identifies the experimental bucket a user is randomly assigned to.\\n\\ntest - user is returned to page at signup and possibly shown a CTA\\ncontrol - user shown Special:GettingStarted\"},\"pageId\":{\"type\":\"integer\",\"description\":\n\"ID of the target article the user is invited to edit, or currently attempting to edit (including click on 'Edit this page' button), if available.\"},\"pageNS\":{\"type\":\"integer\",\"description\":\"Namespace of the page (associated with all events, even if pageId is unavailable).\"},\"revId\":{\"type\":\"integer\",\"description\":\"Current revision of the target article the user is invited to edit, or currently attempting to edit (including click on 'Edit this page' button), if available.\\n\\nAvailable for same actions as pageId\"},\"userId\":{\"type\":\"integer\",\"description\":\"User ID (events from anonymous users are not logged)\",\"required\":true},\"isEditable\":{\"type\":\"boolean\",\"description\":\n\"True if the target article the user is invited to edit (or attempting to edit for redirect-invite-click for 'Edit this page') is editable based on user privileges.\\n\\nThis is based on quickUserCan/wgIsProbablyEditable, so it may provide a false positive in some edge cases (such as cascading protection), but should never provide false negatives.\"}}},\"revision\":5944134});},{},{});","schema.NavigationTiming@1347062400":"mw.loader.implement(\"schema.NavigationTiming\",function(){mediaWiki.eventLog.declareSchema(\"NavigationTiming\",{\"schema\":{\"title\":\"NavigationTiming\",\"description\":\"Represents a set of client-side latency measurements provided by NavigationTiming API\",\"properties\":{\"action\":{\"description\":\"Value of 'wgAction': view', 'submit', 'history', etc. Unset for special pages.\",\"type\":\"string\"},\"connectEnd\":{\"description\":\"the time immediately after the user agent finishes establishing the connection to the server to retrieve the current document.\",\"type\":\"integer\"},\"connectStart\":{\"description\":\n\"the time immediately before the user agent start establishing the connection to the server to retrieve the document.\",\"type\":\"integer\"},\"dnsLookup\":{\"description\":\"Time it took to resolve names (domainLookupEnd - domainLookupStart).\",\"type\":\"integer\"},\"domComplete\":{\"description\":\"the time immediately before the user agent sets the current document readiness to \\\"complete\\\".\",\"type\":\"integer\"},\"domInteractive\":{\"description\":\"the time immediately before the user agent sets the current document readiness to \\\"interactive\\\".\",\"type\":\"integer\"},\"fetchStart\":{\"description\":\"the time immediately before the user agent starts checking any relevant application caches.\",\"type\":\"integer\"},\"isAnon\":{\"description\":\"True if the user was anonymous; false if logged in.\",\"required\":true,\"type\":\"boolean\"},\"isHttps\":{\"description\":\"True if request was secure (i.e., used HTTPS).\",\"type\":\"boolean\"},\"loadEventEnd\":{\"description\":\"the time when the load event of the current document is completed.\",\"type\":\n\"integer\"},\"loadEventStart\":{\"description\":\"the time immediately before the load event of the current document is fired.\",\"type\":\"integer\"},\"mobileMode\":{\"description\":\"If in mobile view, specifies the mobile mode. Absent otherwise.\",\"enum\":[\"alpha\",\"beta\",\"stable\"],\"type\":\"string\"},\"originCountry\":{\"description\":\"Country in which request originated, based on GeoIP look-up.\",\"type\":\"string\"},\"pageId\":{\"description\":\"`page_id` of requested page. Unset for special pages.\",\"type\":\"integer\"},\"redirectCount\":{\"description\":\"Number of times the document request was redirected.\",\"type\":\"integer\"},\"redirecting\":{\"description\":\"Time spent following redirects.\",\"type\":\"integer\"},\"requestStart\":{\"description\":\"the time immediately before the user agent starts requesting the current document from the server, or from relevant application caches or from local resources.\",\"type\":\"integer\"},\"responseEnd\":{\"description\":\n\"the time immediately after the user agent receives the last byte of the current document or immediately before the transport connection is closed, whichever comes first.\",\"type\":\"integer\"},\"responseStart\":{\"description\":\"the time immediately after the user agent receives the first byte of the response from the server, or from relevant application caches or from local resources.\",\"type\":\"integer\"},\"revId\":{\"description\":\"Revision ID of requested page. Unset for special pages.\",\"type\":\"integer\"},\"userAgent\":{\"description\":\"Browser's user-agent string.\",\"required\":true,\"type\":\"string\"}}},\"revision\":5832704});},{},{});","schema.UniversalLanguageSelector@1347062400":"mw.loader.implement(\"schema.UniversalLanguageSelector\",function(){mediaWiki.eventLog.declareSchema(\"UniversalLanguageSelector\",{\"schema\":{\"title\":\"UniversalLanguageSelector\",\"description\":\"A prototype analytic data model for ULS\",\"properties\":{\"version\":{\"type\":\"integer\",\"required\":true,\"description\":\n\"Version number. This field can be used to track changes in instrumentation that affect the nature of the data collected.\"},\"token\":{\"type\":\"string\",\"description\":\"A unique random persistent token per browser\",\"required\":true},\"action\":{\"type\":\"string\",\"description\":\"What the user caused or did.\",\"enum\":[\"ime-change\",\"ime-enable\",\"ime-disable\",\"language-change\",\"font-change\",\"no-search-results\",\"login-click\",\"settings-open\",\"ui-lang-revert\",\"more-languages-access\"],\"required\":true},\"context\":{\"type\":\"string\",\"description\":\"Arbitrary action related data clarifying the context.\\n * language-change: One of interface, content, font, ime, other\\n * no-search-results: The search string\\n * settings-open: One of personal, interlanguage, menu, preferences\\n * more-languages-access: Same as for language-change\",\"required\":false},\"interfaceLanguage\":{\"type\":\"string\",\"description\":\"Language code\",\"required\":true},\"contentLanguage\":{\"type\":\"string\",\n\"description\":\"Language code\",\"required\":true},\"inputMethod\":{\"type\":\"string\",\"description\":\"Input method identifier or 'system'\",\"required\":false},\"contentFont\":{\"type\":\"string\",\"description\":\"Font name or 'system'\",\"required\":false},\"interfaceFont\":{\"type\":\"string\",\"description\":\"Font name or 'system'\",\"required\":false},\"languageSelectionMethod\":{\"type\":\"string\",\"description\":\"How was the language selected.\",\"required\":false,\"enum\":[\"map\",\"search\",\"common\"]}}},\"revision\":5729800});},{},{});","ext.gadget.ReferenceTooltips@1375332099":"mw.loader.implement(\"ext.gadget.ReferenceTooltips\",function(){window.pg||$(document).ready(function($){if(wgCanonicalNamespace===''||wgCanonicalNamespace==='Project'||wgCanonicalNamespace==='Help'){function toggleRT(o){mw.loader.using(\"jquery.cookie\",function(){$.cookie(\"RTsettings\",o+\"|\"+settings[1]+\"|\"+settings[2],{path:\"/\",expires:90});location.reload();})}var settings=document.\ncookie.split(\"RTsettings=\")[1];settings=settings?settings.split(\";\")[0].split(\"%7C\"):[1,200,+(\"ontouchstart\"in document.documentElement)];if(settings[0]==0){var footer=$(\"#footer-places, #f-list\");if(footer.length===0){footer=$(\"#footer li\").parent();}footer.append($(\"
  • \").append($(\"\").text(\"Enable Reference Tooltips\").attr(\"href\",\"javascript:(function(){})()\").click(function(){toggleRT(1)})));return;}var isTouchscreen=+settings[2],timerLength=isTouchscreen?0:+settings[1],settingsMenu;$(\".reference\").each(function(){var tooltipNode,hideTimer,showTimer,checkFlip=false;function findRef(h){h=h.firstChild.getAttribute(\"href\");h=h&&h.split(\"#\");h=h&&h[1];h=h&&document.getElementById(h);h=h&&h.nodeName==\"LI\"&&h;return h;}function hide(refLink){if(tooltipNode&&tooltipNode.parentNode==document.body){hideTimer=setTimeout(function(){$(tooltipNode).animate({opacity:0},100,function(){document.body.removeChild(tooltipNode)})},isTouchscreen?16:100)}else{var h=findRef(refLink);h&&(h.style.border\n=\"\");}}function show(){if(!tooltipNode.parentNode||tooltipNode.parentNode.nodeType===11){document.body.appendChild(tooltipNode);checkFlip=true;}$(tooltipNode).stop().animate({opacity:1},100)\nclearTimeout(hideTimer);}function openSettingsMenu(){if(settingsMenu){settingsMenu.dialog(\"open\");}else{settingsMenu=$(\"
    \").append($(\"